package cn.kk.communication.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kk
 * @since 2022-11-19
 */
public class Communication implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 通讯录id，主键
     */
    private Integer cid;

    /**
     * 姓名
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 电话
     */
    private Long phone;

    /**
     * 地址
     */
    private String address;

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Communication{" +
            "cid=" + cid +
            ", name=" + name +
            ", password=" + password +
            ", phone=" + phone +
            ", address=" + address +
        "}";
    }

    public Communication() {
    }

    public Communication(Integer cid, String name, String password, Long phone, String address) {
        this.cid = cid;
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.address = address;
    }
}
